package cn.com.shopec.erp.stock.commo;

import java.util.List;

import net.sf.json.JSONArray;

public class JsonUtil {

	public static List<?> changeJsonToList(String json, Class<?> calzz) {
		JSONArray jsonArray = JSONArray.fromObject(json);
		List<?> stockInProducts = JSONArray.toList(jsonArray, calzz);
		return stockInProducts;
	}
}
